<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>my</title>
    <link rel="stylesheet" href="./css/public.css">
    <link rel="stylesheet" href="./css/my.css">
</head>
<body>
    <div class="container">
        <div class="personal">
            <div class="head">个人资料</div>
            <div class="img"><img src="" alt=""></div>
            <div class="row space-between">
                <div class="name"></div>
                <div class="attention">+关注</div>
            </div>
            <div class="row">昵称：<span class="nickname"></span></div>
            <div class="row">电话：<span class="phone"></span></div>
            <div class="row">邮箱：<span class="email"></span></div>
            <div class="row">性别：<span class="gender"></span></div>
            <div class="row">注册时间：<span class="registrationtime"></span></div>
            <div class="row space-between btngroup">
                <input type="button" value="发送消息">
                <input type="file" id="file" style="display:none;">
                <input type="button" id='redact' value="编辑头像">
            </div>
        </div>
        <div class="correlation">
            <div class="head">最新动态</div>
            <ul class="list">
            </ul>
        </div>
    </div>
</body>
<script src="./node_modules/axios/dist/axios.js"></script>
<script>
    axios.get('https://ty.php800.cn/api/token.php',{
        headers:{
            TOKEN:localStorage.getItem('token'),
            SAT:'1234567'
        }
    }).then((res)=>{
        console.log(res)
        if(!res.data.verify){
            top.window.location.href='./login.html'
        }
    })
</script>
<script src="./js/my.js"></script>
</html>
